:root {
    --color-score: 255 255 255;
    --color-team-blue: 52 152 219;
    --color-team-red: 231 76 60;

    --primary-color: #fff;
    --secondary-color: #333;
}

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    touch-action: manipulation;
    user-select: none;
}


@font-face {
  font-family: "Digital Display";
  src: url("Digital-Display.woff2") format("woff2"), format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@keyframes marquee {
    0% {
        text-shadow: 0 0 0 rgb(255 255 255 / 0), 0 0 0 rgb(255 255 255 / 0);
        transform: translate(0, -100%) rotate(5deg);
    }

    25% {
        text-shadow: 0 0.1em 0 rgb(var(--color-score) / 0.75), 0 0.2em 0 rgb(var(--color-score) / 0.5);
        transform: translate(0, 100%) rotate(-5deg);
    }

    50% {
        text-shadow: 0 -0.1em 0 rgb(var(--color-score) / 0.75), 0 -0.2em 0 rgb(var(--color-score) / 0.5);
        transform: translate(0, 0) rotate(5deg);
    }

    75% {
        text-shadow: 0 0.1em 0 rgb(var(--color-score) / 0.75), 0 0.2em 0 rgb(var(--color-score) / 0.5);
        transform: translate(0, 100%) rotate(-5deg);
    }

    100% {
        text-shadow: 0 0 0 rgb(255 255 255 / 0), 0 0 0 rgb(255 255 255 / 0);
        transform: translate(0, -100%) rotate(5deg);
    }
}

@keyframes increment {
    0% {
        transform: scale3d(1, 1, 1);
    }

    10%,
    20% { /* 150ms */
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }

    30%, /* 225ms */
    50%,
    70%,
    90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }

    40%,
    60%,
    80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }

    100% { /* 750ms */
        transform: scale3d(1, 1, 1);
    }
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-grow: 1;
    margin: 0;
    overscroll-behavior-y: contain;
    overflow: hidden;
}

#output {
    position: absolute;
}

#logo {
    position: absolute;
    top: 0;
    left: calc( 50% - 50px );
    border: 0.5px solid;
}

/* Hide logo on small landscape screens to prevent overlap */
@media (max-height: 450px) and (orientation: landscape) {
    #logo {
        display: none;
    }
}

.clock-display {
    position: absolute;
    top: 22px;
    right: 80px;
    font-family: "Digital Display", monospace;
    font-size: min(3vw, 6vh);
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    z-index: 1000;
    user-select: none;
    -webkit-user-select: none;
}

/* Adjust clock position on small landscape screens */
@media (max-height: 450px) and (orientation: landscape) {
    .clock-display {
        top: 5px;
        right: 10px;
        font-size: min(2.5vw, 4vh);
    }
}

.clock-separator {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.game-timer-display {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: "Digital Display", monospace;
    font-size: min(3vw, 6vh);
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    z-index: 1000;
    user-select: none;
    -webkit-user-select: none;
}

/* Adjust timer position on small landscape screens */
@media (max-height: 450px) and (orientation: landscape) {
    .game-timer-display {
        top: 5px;
        left: 10px;
        font-size: min(2.5vw, 4vh);
    }
}

.timer-separator {
    animation: blink 1s step-end infinite;
}

html {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a0a1f 50%, #0a0a0f 100%);
    transition: background 0.8s ease;
    color: rgb(255 255 255);
    display: flex;
    font-family: 'SF Compact Rounded', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    font-size: 100%;
    min-height: 100%;
}

/* Gradient variations based on score state */
html.score-blue-leading {
    background: linear-gradient(135deg, #0a0f1a 0%, #0a1a2f 50%, #0a0f1a 100%);
}

html.score-red-leading {
    background: linear-gradient(135deg, #1a0a0f 0%, #2f0a1a 50%, #1a0a0f 100%);
}

html.score-tied {
    background: linear-gradient(135deg, #0f0a1a 0%, #1a0f2f 50%, #0f0a1a 100%);
}

html.score-critical {
    background: linear-gradient(135deg, #1a0f0a 0%, #2f1f0f 50%, #1a0f0a 100%);
}

main {
    cursor: default;
    display: flex;
    flex-grow: 1;
}

.idle {
    cursor: none;
}

.marquee {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    gap: min(0.2vw, 0.4vh);
    font-size: min(10vw, 20vh);
    font-weight: 500;
    width: auto;
    z-index: 200;
}

.marquee__letter {
    animation-direction: normal;
    animation-duration: 3s;
    animation-fill-mode: both;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    transform: translate(0, -100%) rotate(5deg);
}

.goal .marquee__letter {
    animation-name: marquee;
}

.marquee__letter:nth-child(1)  { animation-delay: 0.0s }
.marquee__letter:nth-child(2)  { animation-delay: 0.1s }
.marquee__letter:nth-child(3)  { animation-delay: 0.2s }
.marquee__letter:nth-child(4)  { animation-delay: 0.3s }
.marquee__letter:nth-child(5)  { animation-delay: 0.4s }
.marquee__letter:nth-child(6)  { animation-delay: 0.5s }
.marquee__letter:nth-child(7)  { animation-delay: 0.6s }
.marquee__letter:nth-child(8)  { animation-delay: 0.7s }
.marquee__letter:nth-child(9)  { animation-delay: 0.8s }
.marquee__letter:nth-child(10) { animation-delay: 0.9s }

.points {
    font-family: "Digital Display";
    position: relative;
    display: flex;
    align-items: stretch;
    flex-grow: 1;
    justify-content: center;
}

.points::before,
.points::after {
    position: absolute;
    top: 0;
    bottom: 0;
    background-size: 450px 144px;
    content: '';
    opacity: 0;
    transition-delay: 150ms;
    transition-duration: 50ms;
    transition-property: opacity;
    width: auto;
    height: auto;
    z-index: 100;
}

.points::before {
    right: 50%;
    left: 0;
    background-color: rgb(var(--color-team-blue));
    box-shadow: 0 0 32px rgb(var(--color-team-blue) / 0.2), 0 0 96px rgb(var(--color-team-blue) / 0.2);
}

.points::after {
    right: 0;
    left: 50%;
    background-color: rgb(var(--color-team-red));
    box-shadow: 0 0 32px rgb(var(--color-team-red) / 0.2), 0 0 96px rgb(var(--color-team-red) / 0.2);
}

.points__container {
    position: relative;
    display: flex;
    align-items: center;
    flex-basis: 0;
    flex-grow: 1;
}

.points__container--blue {
    justify-content: right;
}

.points__container--red {
    justify-content: left;
    padding-left: 2em;
}

.points__team-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: min(2vh, 2vw);
}

.team-name {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: min(2vw, 2vh);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    opacity: 0.9;
    z-index: 350;
    user-select: none;
    -webkit-user-select: none;
    white-space: nowrap;
    max-width: 90%;
    text-overflow: ellipsis;
    overflow: hidden;
    position: absolute;
    top: 20%;
}

/* Adjust team names on small landscape screens */
@media (max-height: 450px) and (orientation: landscape) {
    .team-name {
        font-size: min(1.8vw, 1.8vh);
        top: 15%;
    }
}

.team-name--blue {
    color: rgb(var(--color-team-blue));
}

.team-name--red {
    color: rgb(var(--color-team-red));
}

.points__team,
.points__versus {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.points__team {
    position: relative;
    animation-delay: 0;
    animation-direction: normal;
    animation-duration: 750ms;
    animation-fill-mode: both;
    animation-iteration-count: 1;
    animation-timing-function: linear;
    font-size: min(40vw, 60vh);
    text-shadow: 0 0 32px rgb(0 0 0), 0 0 96px rgb(0 0 0);
    transition-delay: 150ms;
    transition-duration: 50ms;
    transition-property: color, text-shadow, opacity, transform;
    z-index: 300;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.points__team:active {
    transform: scale(0.98);
    opacity: 0.8;
}

.points__container--blue .points__team {
    justify-content: flex-end;
    transform-origin: center right;
}

.points__container--red .points__team {
    justify-content: flex-start;
    transform-origin: center left;
}

.points__versus-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: min(2vh, 2vw);
}
@media (max-width: 922px ) {
    .points__versus-container {
        margin-left: 2vw;
    }    
}

.game-counter {
    display: flex;
    align-items: center;
    gap: min(1vw, 1vh);
    font-family: "Digital Display";
    font-size: min(4vw, 6vh);
    color: rgb(255 255 255 / 0.6);
    text-shadow: 0 0 8px rgb(0 0 0);
}

/* Adjust game counter on small landscape screens */
@media (max-height: 450px) and (orientation: landscape) {
    .game-counter {
        font-size: min(3vw, 4vh);
        gap: min(0.8vw, 0.8vh);
    }
}

.game-counter__blue {
    color: #eee;
}

.game-counter__red {
    color: #eee;
}

.game-counter__separator {
    color: rgb(255 255 255 / 0.4);
    font-weight: 100;
}

.points__versus {
    color: rgb(255 255 255 / 0.8);
    font-size: min(10vw, 20vh);
    font-weight: 100;
    z-index: 400;
}

.goal--blue {
    --color-score: var(--color-team-blue);
}

.goal--red {
    --color-score: var(--color-team-red);
}

.points__team--blue {
    color: rgb(var(--color-team-blue));
    text-shadow: 5px 5px 10px #00f, -5px -5px 10px #00f;
}
.points__team:before {
    content: '88';
    position: absolute;
    opacity: 0.3;
}

.points__team--red {
    color: rgb(var(--color-team-red));
    text-shadow: 5px 5px 10px #f00, -5px -5px 10px #f00;
}

.goal--blue .points__team--blue,
.goal--red .points__team--red {
    animation-name: increment;
}

.win--blue .points::before {
    opacity: 1;
}

.win--blue .points__team--blue {
    color: rgb(255 255 255);
    text-shadow: 0 0 32px rgb(255 255 255 / 0.2), 0 0 96px rgb(255 255 255 / 0.2);
}

.win--red .points::after {
    opacity: 1;
}

.win--red .points__team--red {
    color: rgb(255 255 255);
    text-shadow: 0 0 32px rgb(255 255 255 / 0.2), 0 0 96px rgb(255 255 255 / 0.2);
}

.points__minus {
    position: absolute;
    bottom: max(12vh, 80px);
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: min(3vw, 4vh);
    font-weight: bold;
    width: min(6vw, 8vh);
    height: min(6vw, 8vh);
    opacity: 0.6;
    transition: all 0.2s ease;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    z-index: 500;
}

.points__minus:hover {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
}

.points__minus:active {
    transform: translateX(-50%) scale(0.95);
}

.points__minus--blue {
    border-color: rgb(var(--color-team-blue) / 0.5);
    background-color: rgba(52, 152, 219, 0.2);
}

.points__minus--blue:hover {
    background-color: rgba(52, 152, 219, 0.4);
    border-color: rgb(var(--color-team-blue));
}

.points__minus--red {
    border-color: rgb(var(--color-team-red) / 0.5);
    background-color: rgba(231, 76, 60, 0.2);
}

.points__minus--red:hover {
    background-color: rgba(231, 76, 60, 0.4);
    border-color: rgb(var(--color-team-red));
}

/* Adjust minus buttons on small landscape screens */
@media (max-height: 450px) and (orientation: landscape) {
    .points__minus {
        bottom: max(6vh, 35px);
        font-size: min(2.5vw, 3vh);
        width: min(5vw, 6vh);
        height: min(5vw, 6vh);
    }
}

.tools {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    width: auto;
    z-index: 400;
    justify-content: center;
}

.tools__button {
    position: relative;
    background-color: transparent;
    border: 2px solid;
    border-radius: 18px;
    cursor: pointer;
    font-family: inherit;
    color: #fff;
    font-size: 16px;
    opacity: 0.75;
    padding: 0;
    text-transform: uppercase;
    transition: opacity 100ms, transform 100ms;
    width: 48px;
    height: 48px;
    touch-action: manipulation;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-dots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 3px;
    width: 24px;
    height: 24px;
}

.menu-dots span {
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
}

.tools__button:active {
    top: 1px;
}

.tools__button:disabled {
    border-style: dotted;
    color: inherit;
    cursor: wait;
    opacity: 0.5;
}

.tools__button:hover:not(:disabled) {
    opacity: 1;
}


.tools__button--blue {
    border-color: rgb(var(--color-team-blue));
}

.tools__button--blue:hover:not(:disabled) {
    background-color: rgb(var(--color-team-blue) / 0.5);
}

.tools__button--red {
    border-color: rgb(var(--color-team-red));
}

.tools__button--red:hover:not(:disabled) {
    background-color: rgb(var(--color-team-red) / 0.5);
}

button.tools__button label {
    position: absolute;
    top: -32px;
    font-size: clamp( 10px, 1vw, 14px );
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media ( max-height: 350px ) {
    button.tools__button label {
        display: none;
    }
}

#toggle-animation.on {
    background: darkred;
}




/* Responsive Adjustments */
@media (min-width: 768px) {
    .nav-menu {
      width: 750px;
    }
  }
  /*Medium Screens */
  @media (min-width: 922px) {
    .nav-menu {
      width: 970px;
    }
  }
  /*Large Screens */
  @media (min-width: 1200px) {
    .nav-menu {
      width: 1170px;
    }
  }
  
  /* Burger Icon Container */
  .burger-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px;
    border-radius: 5px;
    background: hwb(0 100% 0% / 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px #0000001a;
  }
  
  /* Burger Icon Lines */
  .burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transform-origin: center;
    transition: all 0.4s ease-in-out;
  }
  
  /* Checkbox Hack */
  #burger-toggle {
    display: none;
  }
  
  /* Navigation Styles */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: linear-gradient(135deg, #583e99 0%, #273849 100%);
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    box-shadow: -4px 0 15px #00000033;
    overflow-y: auto;
    padding-top: 100px;
    z-index: 500;
  }
  
  .nav-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #ffffff0d;
    backdrop-filter: blur(10px);
  }
  
  .nav-menu ul {
    list-style-type: none;
  }
  
  .nav-menu ul li {
    margin: 0 15px;
    border-bottom: 1px solid #ffffff1a;
  }
  
  .nav-menu ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 15px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
  }
  
  .nav-menu ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: left 0.3s ease;
  }
  
  .nav-menu ul li a:hover::after {
    left: 0;
  }
  
  /* Burger Icon Animation on Checkbox Checked */
  #burger-toggle:checked ~ .burger-container .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  #burger-toggle:checked ~ .burger-container .burger-line:nth-child(2) {
    opacity: 0;
  }
  
  #burger-toggle:checked ~ .burger-container .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Navigation Slide In */
  #burger-toggle:checked ~ .nav-menu {
    right: 0;
  }

/* Overlay Menu */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.overlay-menu__content {
    position: relative;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 20px;
    padding: 50px 10px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.overlay-menu__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.overlay-menu__close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.overlay-menu__close:active {
    transform: scale(0.95);
}

.overlay-menu__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
}

@media (min-width: 768px) and (orientation: landscape) {
    .overlay-menu__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (max-width: 767px), (orientation: portrait) {
    .overlay-menu__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

.overlay-menu__button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    touch-action: manipulation;
    min-height: 100px;
}

@media (min-width: 768px) {
    .overlay-menu__button {
        padding: 20px;
        font-size: 16px;
        gap: 10px;
        min-height: 120px;
    }
}

.overlay-menu__button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.overlay-menu__button:active {
    transform: scale(0.98);
}

.overlay-menu__button .icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.overlay-menu__button .label {
    text-align: center;
    font-weight: 500;
    line-height: 1.2;
    font-size: 13px;
}

@media (min-width: 768px) {
    .overlay-menu__button .icon {
        font-size: 36px;
    }

    .overlay-menu__button .label {
        font-size: 16px;
        line-height: 1.3;
    }
}

/* About Dialog */
.about-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-overlay.active {
    display: flex;
    opacity: 1;
}

.about-dialog {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.about-header {
    background: linear-gradient(135deg, #2a2a4e 0%, #1e2a4e 100%);
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.about-header h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 170, 255, 0.3);
}

.about-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}

.about-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.about-content {
    padding: 40px 30px;
    text-align: center;
}

.about-content p {
    margin: 0 0 20px 0;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-description {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 30px !important;
}

.about-credits {
    font-size: 16px;
    color: #ff69b4;
    font-weight: 500;
    margin-bottom: 15px !important;
}

.about-copyright {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 0 !important;
}

@media (max-width: 500px) {
    .about-header h2 {
        font-size: 20px;
    }

    .about-description {
        font-size: 16px;
    }

    .about-content {
        padding: 30px 20px;
    }
}