/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Mono', monospace;
    line-height: 1.6;
    font-size: 14px;
    color: rgba(36, 36, 36, 1);
    overflow-x: hidden;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(225, 227, 75, 1);
    z-index: 1000;
    padding: 20px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.cookie-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    
}

.cookie-content p {
    margin-bottom: 10px;
    
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-accept {
    background: rgba(87, 40, 156, 1);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-accept:hover {
    background: #5e35b1;
}

.btn-learn-more {
    background: white;
    
    border: 2px solid #333;
    padding: 10px 28px;
    border-radius: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background: #333;
    color: white;
}

/* Header */
.header {

    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 99;
    transition: all 0.3s ease;
}

@media (min-width:1024px){
    .header {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 24px;
    }
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 12px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    width: 30px;
    height: 30px;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    
}

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

.nav-link {
    text-decoration: none;
    color: rgba(36, 36, 36, 1);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgba(87, 40, 156, 1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 0 0 80px;
}

@media (max-width:1024px){
  .hero {
    padding-top: 80px;
  }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: center;
    padding-left: 12px;
    padding-right: 12px;
}

.hero-text h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
}

.hero-text p {
    margin-bottom: 30px;
}

.cta-button {
  text-decoration: unset;
    background: rgba(87, 40, 156, 1);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #5e35b1;
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    z-index: 100;
    position: relative;
}

/* About Section */
.about {
    padding: 40px 0;
    background: rgba(87, 40, 156, 1);
    color: white;
}

.section-title {
    font-size: 178px;
    font-weight: 700;
    text-align: center;
    color: rgba(225, 227, 75, 1);
    line-height: 0.9;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
    margin-top: -40px;
}

.about-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
    background: white;
    border-radius: 15px;
    padding: 12px;
    overflow: hidden;
    height: max-content;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

@media (min-width:768px){
    .about-card:nth-child(2){
      margin-top: 58px;
    }

    .about-card:nth-child(3){
      margin-top: 116px;
    }
}

.about-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
}

.about-card h3 {
    font-weight: 600;
    font-size: 32px;
    line-height: 90%;
    color: rgba(36, 36, 36, 1);
}

.card-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: rgba(36, 36, 36, 1);
    padding: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.card-link:hover {
    background: #5e35b1;
}

/* Your Moves Section */
.your-moves {
    padding: 80px 0;
}

.moves-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.moves-text h2 {
    font-size: 64px;
    line-height: 0.9;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    
}

.moves-text p {
    font-size: 1rem;
    margin-bottom: 12px;
    text-align: center;
}

.moves-text p + .card-link {
  margin-top: 50px;
}

.moves-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 15px;
    object-fit: cover;
}

.moves-image:first-child {
  align-self: center;
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.game-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.2rem;
    font-weight: 600;
    
}

.play-btn {
    display: inline-block;
    margin: 0 20px 20px;
    background: rgba(87, 40, 156, 1);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.play-btn:hover {
    background: #5e35b1;
}

/* Why Nudravax Section */
.why-nudravax {
    padding: 80px 0;
    background: white;
}

.why-nudravax h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    
}

.why-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.why-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.see-games-btn {
    display: inline-block;
    background: #333;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.see-games-btn:hover {
    background: #555;
}

.why-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Every Player Section */
.every-player {
    padding: 40px 0 80px;
}

.player-content {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 40px;
    align-items: start;
    max-width: 890px;
    margin-left: auto;
    margin-right: auto;
}

.player-text {
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.player-text h2 {
    font-size: 64px;
    line-height: 0.9;
    font-weight: 700;
    margin-bottom: 12px;
}

.player-text p {
    margin-bottom: 30px;
    color: rgba(36, 36, 36, 1);
    line-height: 1.6;
}

.genres h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    
}

.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.genre-tag {
    background: rgba(87, 40, 156, 0.31);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.genre-tag--active {
  background: rgba(87, 40, 156, 1);
}

.player-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: rgba(87, 40, 156, 1);
    color: white;
}

textarea {
  resize: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: rgba(225, 227, 75, 1);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(87, 40, 156, 1);
}

.form-buttons {
    display: flex;
    gap: 15px;
}

.submit-btn,
.accept-btn {
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn {
    background: rgba(225, 227, 75, 1);
    
}

.submit-btn:hover {
    background: #c0ca33;
}

.accept-btn {
    background: rgba(87, 40, 156, 1);
    color: white;
}

.accept-btn:hover {
    background: #5e35b1;
}

/* Footer */
.footer {
    background: white;
    padding: 60px 0 0;
    border-top: 1px solid #e0e0e0;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 40px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #666;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgba(87, 40, 156, 1);
}

.copyright {
    color: #666;
}

.footer-brand {
    margin-bottom: -60px;
}

.footer-brand h1 {
    font-weight: 700;
    font-size: 199px;
    line-height: 90%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(87, 40, 156, 1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 400px;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    
}

.modal-content h3 {
    color: rgba(87, 40, 156, 1);
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .moves-content,
    .why-content,
    .player-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title {
      font-size: 120px;
    }

    
    .moves-text h2,
    .why-nudravax h2,
    .player-text h2,
    .contact-info h2 {
        font-size: 2rem;
    }

    .navbar {
        padding: 1rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .footer-brand {
      margin-bottom: -30px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 62px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .cookie-content {
        padding: 0 15px;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-accept,
    .btn-learn-more {
        width: 100%;
        text-align: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-social {
      margin-left: auto;
      margin-right: auto;
    }



    .form-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .submit-btn,
    .accept-btn {
        width: 100%;
    }

    .modal-content {
        width: 90%;
        margin: 20% auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .about {
      overflow-x: hidden;
    }

    .section-title {
      font-size: 80px;
      padding-bottom: 16px;
    }

    .moves-text h2,
    .why-nudravax h2,
    .player-text h2,
    .contact-info h2 {
        font-size: 1.5rem;
    }

    .about,
    .your-moves,
    .games-section,
    .why-nudravax,
    .every-player,
    .contact {
        padding: 60px 0;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .genre-tags {
        justify-content: center;
    }

    .footer-brand h1 {
        font-size: 80px;
        text-align: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects */
.game-card,
.about-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover,
.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Button animations */
.cta-button,
.browse-btn,
.play-btn,
.submit-btn,
.accept-btn,
.see-games-btn {
    position: relative;
    overflow: hidden;
}

.cta-button::before,
.browse-btn::before,
.play-btn::before,
.submit-btn::before,
.accept-btn::before,
.see-games-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before,
.browse-btn:hover::before,
.play-btn:hover::before,
.submit-btn:hover::before,
.accept-btn:hover::before,
.see-games-btn:hover::before {
    left: 100%;
}

.policy {
  margin-top: 80px;
  padding-top: 40px;
  padding-bottom: 60px;
}

.policy-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 60px;
}

.policy-content a {
  color: inherit;
  text-decoration: unset;
}

.policy h1 {
  font-size: 60px;
}

@media (max-width:768px){
  .policy h1 {
    font-size: 30px;
  }
}