* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
}

.site-header {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.site-title {
    color: #ff4444;
    font-size: 2rem;
    margin: 0;
}

.game-container {
    text-align: center;
    padding: 1rem 2rem;
    background-color: #2a2a2a;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    width: 100%;
}

.site-footer {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
}

/* Help Section Styles */
.help-section {
    position: relative;
    margin-bottom: 1rem;
}

.help-button {
    background-color: #666;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.help-button:hover {
    background-color: #777;
}

.modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: #2a2a2a;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-button:hover {
    color: #fff;
}

.modal h2 {
    color: #ff4444;
    margin-bottom: 1.5rem;
}

.modal h3 {
    color: #4CAF50;
    margin: 1.5rem 0 1rem;
}

.modal section {
    margin-bottom: 1.5rem;
    text-align: left;
}

.modal ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.modal li {
    margin: 0.5rem 0;
    line-height: 1.4;
}

.modal p {
    line-height: 1.5;
    color: #ddd;
}

h1 {
    margin-bottom: 1.5rem;
    color: #ff4444;
}

.chamber-container {
    width: 300px;
    height: 300px;
    margin: 2rem auto;
    position: relative;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.4));
}

.chamber {
    width: 100%;
    height: 100%;
    transform-origin: center;
    transition: transform 3s cubic-bezier(0.4, 2, 0.2, 1);
    filter: brightness(1.1) contrast(1.1);
}

.chamber.spinning {
    transform: rotate(2160deg);
}

/* SVG Styles */
.chamber-body {
    fill: #444;
    stroke: #666;
    stroke-width: 2;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
}

.bullet-hole-group {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.hole-rim {
    stroke: none;
}

.hole-inner {
    stroke: none;
}

.chamber-pin {
    stroke: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7));
}

/* Bullet styles */
.bullet {
    transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.bullet-body {
    stroke: none;
}

.bullet-shine {
    stroke: none;
    mix-blend-mode: soft-light;
}

.controls {
    margin: 2rem 0;
}

button {
    padding: 1rem 2rem;
    margin: 0.5rem;
    font-size: 1.1rem;
    cursor: pointer;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover:not(:disabled) {
    background-color: #666;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#spinBtn {
    background-color: #4CAF50;
}

#shootBtn {
    background-color: #ff4444;
}

.stats {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.stats p {
    margin: 0.5rem 0;
}

.game-over {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.game-over h2 {
    color: #ff4444;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

.share-buttons {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.share-button svg {
    width: 20px;
    height: 20px;
}

.share-button.twitter {
    background-color: #1DA1F2;
    color: white;
}

.share-button.twitter:hover {
    background-color: #0d8ed9;
}

.share-button.facebook {
    background-color: #4267B2;
    color: white;
}

.share-button.facebook:hover {
    background-color: #365899;
} 