/* ============================================
   RUSTY SEA MEN - PIRATE THEME STYLESHEET
   ============================================ */

:root {
    --deep-sea-blue: #0a1628;
    --ocean-blue: #1a2844;
    --wave-blue: #2a4c7d;
    --accent-gold: #d4a574;
    --rust-orange: #c97545;
    --skull-white: #e8dcc4;
    --wood-brown: #4a3728;
    --dark-wood: #2d1f16;
    --warning-red: #8b2e2e;
}

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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background: linear-gradient(180deg, #000000 0%, var(--deep-sea-blue) 50%, #0d1b2e 100%);
    color: var(--skull-white);
    min-height: 100vh;
    background-attachment: fixed;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background: rgba(10, 22, 40, 0.95);
    border-bottom: 3px solid var(--accent-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(212, 165, 116, 0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-menu li a {
    display: block;
    padding: 30px 25px;
    color: var(--skull-white);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--accent-gold);
    background: rgba(42, 76, 125, 0.3);
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gold);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(10, 22, 40, 0.8)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path fill="%232a4c7d" opacity="0.1" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    border-bottom: 2px solid var(--accent-gold);
}

.hero-content h1 {
    font-size: 4em;
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.5),
                 0 0 40px rgba(42, 76, 125, 0.3);
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 3px;
}

.tagline {
    font-size: 1.5em;
    color: var(--skull-white);
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.server-ip {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(26, 40, 68, 0.9);
    padding: 20px 30px;
    border-radius: 10px;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 30px rgba(212, 165, 116, 0.3);
}

.ip-label {
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.1em;
}

.ip-value {
    font-size: 1.4em;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.copy-btn,
.copy-btn-small {
    background: var(--rust-orange);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.copy-btn-small {
    padding: 5px 10px;
    font-size: 0.9em;
}

.copy-btn:hover,
.copy-btn-small:hover {
    background: #e08550;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(201, 117, 69, 0.4);
}

/* ============================================
   COMMUNITY BUTTONS
   ============================================ */

.community-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 40px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discord-btn {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: white;
    border: 2px solid #5865F2;
}

.discord-btn:hover {
    background: linear-gradient(135deg, #4752C4 0%, #3C45A5 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
}

.stream-btn {
    background: linear-gradient(135deg, #6441a5 0%, #4b2d7f 100%);
    color: white;
    border: 2px solid #6441a5;
}

.stream-btn:hover {
    background: linear-gradient(135deg, #4b2d7f 0%, #3a2260 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(100, 65, 165, 0.5);
}

.btn-icon {
    font-size: 1.4em;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.8) 0%, rgba(42, 76, 125, 0.4) 100%);
    border: 2px solid var(--wave-blue);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

.feature-icon {
    font-size: 4em;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--accent-gold);
    font-size: 1.5em;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--skull-white);
    line-height: 1.6;
}

/* ============================================
   SERVER INFO & RULES
   ============================================ */

.server-info,
.rules-section {
    margin-bottom: 60px;
}

.server-info h2,
.rules-section h2,
.page-header h1 {
    color: var(--accent-gold);
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(212, 165, 116, 0.3);
}

.info-box {
    background: rgba(26, 40, 68, 0.6);
    border: 2px solid var(--wave-blue);
    border-left: 5px solid var(--accent-gold);
    border-radius: 10px;
    padding: 30px;
    line-height: 1.8;
}

.info-box p {
    margin-bottom: 15px;
}

.info-box strong {
    color: var(--accent-gold);
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(26, 40, 68, 0.6);
    border: 2px solid var(--wave-blue);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.rule-item:hover {
    border-color: var(--accent-gold);
    transform: translateX(10px);
}

.rule-number {
    background: var(--accent-gold);
    color: var(--deep-sea-blue);
    font-weight: bold;
    font-size: 1.5em;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.rule-text {
    font-size: 1.1em;
    color: var(--skull-white);
}

/* ============================================
   STORE PAGE
   ============================================ */

.page-header {
    text-align: center;
    padding: 80px 20px 40px;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.8) 0%, transparent 100%);
}

.page-header p {
    font-size: 1.3em;
    color: var(--skull-white);
    margin-top: 15px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.rank-card {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.9) 0%, rgba(42, 76, 125, 0.6) 100%);
    border: 3px solid var(--wave-blue);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.rank-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(212, 165, 116, 0.3);
}

.rank-card.featured {
    border-color: var(--accent-gold);
    border-width: 4px;
}

.rank-card.ultimate {
    border-color: #4dd0e1;
    border-width: 4px;
    background: linear-gradient(135deg, rgba(42, 76, 125, 0.9) 0%, rgba(77, 208, 225, 0.2) 100%);
}

.rank-ribbon {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--rust-orange);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ultimate-ribbon {
    background: linear-gradient(135deg, #4dd0e1 0%, #26c6da 100%);
}

.rank-badge {
    background: var(--wave-blue);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #8b6f47 0%, #6b5837 100%);
}

.rank-badge.silver {
    background: linear-gradient(135deg, #8b7d9c 0%, #6b5d7c 100%);
}

.rank-badge.gold {
    background: linear-gradient(135deg, #d4a574 0%, #b48654 100%);
}

.rank-badge.diamond {
    background: linear-gradient(135deg, #4dd0e1 0%, #26c6da 100%);
}

.rank-badge h3 {
    color: white;
    font-size: 1.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rank-price {
    font-size: 2.5em;
    color: var(--accent-gold);
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(212, 165, 116, 0.5);
}

.rank-perks {
    list-style: none;
    margin-bottom: 25px;
}

.rank-perks li {
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(10, 22, 40, 0.5);
    border-left: 3px solid var(--accent-gold);
    border-radius: 5px;
    color: var(--skull-white);
    line-height: 1.4;
}

.buy-btn {
    width: 100%;
    padding: 15px;
    background: var(--rust-orange);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.buy-btn:hover {
    background: #e08550;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 117, 69, 0.5);
}

.featured-btn {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b48654 100%);
}

.featured-btn:hover {
    background: linear-gradient(135deg, #b48654 0%, var(--accent-gold) 100%);
}

.ultimate-btn {
    background: linear-gradient(135deg, #4dd0e1 0%, #26c6da 100%);
}

.ultimate-btn:hover {
    background: linear-gradient(135deg, #26c6da 0%, #1fb5c9 100%);
}

.store-info {
    margin-top: 60px;
}

/* ============================================
   SERVERS PAGE
   ============================================ */

.server-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.server-card {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.9) 0%, rgba(42, 76, 125, 0.6) 100%);
    border: 3px solid var(--wave-blue);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.server-card.online {
    border-color: #4caf50;
}

.server-card.upcoming {
    border-color: var(--rust-orange);
    opacity: 0.85;
}

.server-status {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 15px;
    border-radius: 20px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.online-dot {
    background: #4caf50;
}

.offline-dot {
    background: #f44336;
}

.upcoming-dot {
    background: var(--rust-orange);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    color: white;
    font-weight: bold;
    font-size: 0.9em;
}

.server-card h2 {
    color: var(--accent-gold);
    font-size: 1.8em;
    margin-bottom: 25px;
    padding-right: 150px;
}

.server-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(10, 22, 40, 0.5);
    border-radius: 5px;
}

.detail-label {
    color: var(--accent-gold);
    font-weight: bold;
}

.detail-value {
    color: var(--skull-white);
}

.server-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.feature-tag {
    background: var(--wave-blue);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.connect-btn {
    width: 100%;
    padding: 15px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.connect-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

.connect-btn.disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.connect-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 60px;
}

.about-section h2 {
    color: var(--accent-gold);
    font-size: 2.2em;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-section p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--skull-white);
    margin-bottom: 15px;
}

.mission-list {
    list-style: none;
    margin-top: 20px;
}

.mission-list li {
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(26, 40, 68, 0.6);
    border-left: 4px solid var(--accent-gold);
    border-radius: 5px;
    font-size: 1.1em;
    color: var(--skull-white);
}

.mission-list li::before {
    content: '⚓ ';
    color: var(--accent-gold);
    font-weight: bold;
    margin-right: 10px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.team-member {
    background: rgba(26, 40, 68, 0.6);
    border: 2px solid var(--wave-blue);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.member-role {
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 0.9em;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.member-name {
    color: white;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
}

.team-member p {
    color: var(--skull-white);
    font-size: 0.95em;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(42, 76, 125, 0.8) 0%, rgba(26, 40, 68, 0.8) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

.stat-number {
    font-size: 3em;
    color: var(--accent-gold);
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--skull-white);
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info {
    background: rgba(26, 40, 68, 0.6);
    border: 2px solid var(--wave-blue);
    border-left: 5px solid var(--accent-gold);
    border-radius: 10px;
    padding: 30px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contact-info strong {
    color: var(--accent-gold);
}

.features-grid-about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-about {
    background: rgba(26, 40, 68, 0.6);
    border: 2px solid var(--wave-blue);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-about:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.feature-icon-large {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.feature-about h3 {
    color: var(--accent-gold);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.feature-about p {
    color: var(--skull-white);
    font-size: 1em;
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: rgba(10, 22, 40, 0.95);
    border-top: 3px solid var(--accent-gold);
    padding: 30px 20px;
    text-align: center;
    margin-top: 80px;
}

footer p {
    color: var(--skull-white);
    font-size: 1em;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu li a {
        padding: 15px 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5em;
    }
    
    .tagline {
        font-size: 1.2em;
    }
    
    .server-ip {
        flex-direction: column;
        gap: 10px;
    }
    
    .community-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .server-card h2 {
        padding-right: 0;
        font-size: 1.4em;
        margin-bottom: 50px;
    }
    
    .server-details {
        grid-template-columns: 1fr;
    }
}
